<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:rich="http://richfaces.org/rich">

<ui:composition>
    <a4j:form>
        <rich:panel id="messages" styleClass="messages_box"> <rich:effect for="messages" event="onclick" type="BlindUp" params="duration:1.0"/>          
            <h:panelGrid  columns="2" cellpadding="2" cellspacing="0" width="100%" columnClasses="buttonCol, leftAlignCol" rowClasses="vertAlignTop"  rendered="#{! empty facesContext.maximumSeverity}">
                <h:graphicImage value="#{MessageHandler.messageImage}" style="float: left; vertical-align: top;" />       
                <h:panelGrid columns="1" cellpadding="2" cellspacing="2" columnClasses="leftAlignCol" rowClasses="vertAlignTop" width="100%">   
                    <h:messages errorClass="errorMessage" infoClass="infoMessage" layout="table" globalOnly="false" showDetail="false" showSummary="true"/>
                </h:panelGrid>
            </h:panelGrid>
        </rich:panel>
    </a4j:form>
</ui:composition>

</html>

